// vue.config.js
module.exports = {
  pages: {
    lookup: {
      // 页面的入口文件
      entry: 'src/pages/dev/indicator/main.js',
      // 页面的模板文件
      template: 'basic/indicator.html',
      // build 生成的文件名称  例： dist/index.html
      filename: 'basic/indicator.html'
    },
    manager_model:{
      entry: 'src/pages/manager/model/main.js',
      template: 'manager/model.html',
      filename: 'manager/model.html'
    },
    manager_access:{
      entry: 'src/pages/manager/access/main.js',
      template: 'manager/access.html',
      filename: 'manager/access.html'
    },
    standard_directory: {
      entry: 'src/pages/standard/directory/main.js',
      template: 'standard/directory.html',
      filename: 'standard/directory.html'
    },
    standard_table: {
      entry: 'src/pages/standard/table/main.js',
      template: 'standard/table.html',
      filename: 'standard/table.html'
    },
    standard_naming: {
      entry: 'src/pages/standard/naming/main.js',
      template: 'standard/naming.html',
      filename: 'standard/naming.html'
    },standard_quality: {
      entry: 'src/pages/standard/quality/main.js',
      template: 'standard/quality.html',
      filename: 'standard/quality.html'
    },standard_mask: {
      entry: 'src/pages/standard/desensitization/main.js',
      template: 'standard/mask.html',
      filename: 'standard/mask.html'
    },
    service_application: {
      entry: 'src/pages/service/application/main.js',
      template: 'service/application.html',
      filename: 'service/application.html'
    },
    service_datadrectory:{
      entry:'src/pages/service/datadrectory/main.js',
      template: 'service/datadrectory.html',
      filename: 'service/datadrectory.html'
    },
    service_development: {
      entry: 'src/pages/service/development/main.js',
      template: 'service/development.html',
      filename: 'service/development.html'
    },
    service_approval:{
      entry:'src/pages/service/approval/main.js',
      template: 'service/approval.html',
      filename: 'service/approval.html'
    },
  },
  publicPath: '/tempo-data-web/',
  lintOnSave: false,
  //后端代理服务器
  devServer: {
    proxy: {
      '/gateway/data': {
        target: 'http://localhost:8089',
        changeOrigin: true,
        pathRewrite: {
          '^/gateway/data': ''
        }
      }
    }
  },
  //打包输出路径
  //outputDir:'D:\merit\nginx-1.17.8\html'
}
